package com.zc.study.thread.多线程第四章节.thread4_2_1;

public class ThreadWrite extends Thread {
    private Service service;

    public ThreadWrite(Service service) {
        this.service = service;
    }

    @Override
    public void run() {
        super.run();
        service.write();
    }
}
